//
//  SinaManager.h
//  SNS
//
//  Created by  on 11-11-19.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SNSManager.h"
#import "WBConnect.h"
#import "WeiBo.h"

typedef enum {
    kSinaRequestTypeNone = 0,
    kSinaRequestTypeSend,
    kSinaRequestTypeGetImageTimeline
} SinaRequestType;

@interface SinaManager : SNSManager 
<WBRequestDelegate, WBSessionDelegate> 
{
    WeiBo *_sinaWeiBo;
}

@property (nonatomic, retain) WeiBo *sinaWeiBo;

+ (SinaManager *)sharedManager;


- (void) getImageTimelineWithDelegate:(id<WBRequestDelegate>)delegate 
                                 page:(int)page;

- (void)getVideoTimelineWithPage:(int)page 
                        delegate:(id)delegate 
                  finishCallback:(SEL)finishCallback 
                    failCallback:(SEL)failCallback;

- (void)getOriginURLFromShortURl:(NSString *)shortURL 
                        delegate:(id)delegate 
                  finishCallback:(SEL)finishCallback 
                    failCallback:(SEL)failCallback;

@end
